package org.sws.domain.award.service;

import org.sws.domain.award.model.entity.AwardRecordEntity;
import org.sws.domain.award.model.entity.DistributeAwardEntity;

import java.util.List;

/**
 * @Author sws
 * @Date 2025/3/24 11:50
 * @description: 奖品服务接口
 */
public interface IAwardService {

    /**
     * 保存用户中奖记录
     * @param awardRecordEntity 奖品记录实体
     */
    void createAwardRecord(AwardRecordEntity awardRecordEntity);

    /**
     * 分页查询用户中奖记录
     */
    List<AwardRecordEntity> queryAwardRecord(String userId, Long activityId);

    /**
     * 配送发货奖品
     */
    void distributeAward(DistributeAwardEntity distributeAwardEntity);
}

